@CHARSET "UTF-8";
/* 页面整体样式 */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f3f4f6;
    position: relative;
}

/* 背景图片 */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/丛雨.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.7;
}

/* 页面容器样式 */
.main-container {
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 28rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(240, 240, 240, 0.6) 100%);
  
}

/* 标题样式 */
.main-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    color: #333;
}

/* 按钮容器样式 */
.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 自定义按钮样式 */
.custom-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-weight: 700;
    text-align: center;
    transition: background-color 300ms ease;
    color: white;
}

/* 注册按钮样式 */
.register-btn {
    background-color: #3b82f6;
}

.register-btn:hover {
    background-color: #2563eb;
}

/* 登录按钮样式 */
.login-btn {
    background-color: #10b981;
}

.login-btn:hover {
    background-color: #059669;
}